<script>
	<#if err?exists && err != "">
		alert("err: ${err}");
	<#else>
		<#assign text=upload_ret />
		<#assign data=text?eval />
		alert("上传成功！   用户:"+"${data.endUser}"+" 文件名："+"${data.key?js_string}"+" 文件大小："+"${data.fsize}B");
	</#if>
	window.location.href = "${data.fromUrl}";
</script>